console.log("✅ 路由文件已加载")
import { createRouter , createWebHashHistory} from 'vue-router'

import HomeView from "../views/HomeView.vue";
import AboutView from "../views/AboutView.vue";

//页面相关配置
const routes = [
    {
        path:"/",
        component:HomeView
    },
    {
        path:"/about",
        component: AboutView
    }
]


const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router;